#include "level.h"

#include "libtcod.hpp"

#include "hero.h"

extern Hero* hero;

namespace Tile
{
	Tile* Empty = new Tile(' ', TCODColor::black);
	Tile* Wall = new Tile('#', TCODColor::lightGrey);
}

Level::Level(int w, int h)
{
	this->w = w;
	this->h = h;

	tiles = new Tile::Tile**[w];
	for(int i=0; i<w; ++i)
	{
		tiles[i] = new Tile::Tile*[h];
		for(int j=0; j<h; ++j)
			tiles[i][j] = Tile::Empty;
	}
	tiles[5][5] = Tile::Wall;
}
